/**
   Copyright 2010 Carlo Alberto Degli Atti (lord kada)

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

package test.it.concept.pin.model.impl;

import java.util.List;

import test.it.concept.pin.model.Access;
import test.it.concept.pin.model.Identity;
import test.it.concept.pin.model.Location;

public class IdentityImpl implements Identity {

	private String name;
	private Location location;
	private List<Access> accessLog;
	private List<Access> cashWithDrawLog;
	
	public IdentityImpl() {
	
		location = new LocationImpl();
		
	}
	
	@Override
	public String getName() {
	
		return name;
	
	}

	public void setName(String name) {
		
		this.name = name;
	
	}

	@Override
	public Location getLocation() {
		
		return location;
	
	}

	public void setLocation(Location location) {
		
		this.location = location;
	
	}

	@Override
	public List<Access> getAccessLog() {
		
		return accessLog;
	}

	public void setAccessLog( List<Access> accessLog ) {
		
		this.accessLog = accessLog;
		
	}

	@Override
	public List<Access> getCashWithDrawLog() {
		
		return cashWithDrawLog;

	}

	public void setCashWithDrawLog( List<Access> cashWithDrawLog ) {
		
		this.cashWithDrawLog = cashWithDrawLog;
	
	}

	@Override
	public List<Access> getAccessLog( Access access ) {
		return null;
	}

}
